#
# Be sure to run `pod lib lint MirrorUMengSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MirrorUMengSDK'
  s.version          = '0.1.2'
  s.summary          = 'MirrorUMengSDK can export the UMengOpenSDK to swift as a framework module.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: MirrorUMengSDK can export the UMengOpenSDK to swift as a framework module.
                       DESC

  s.homepage         = 'https://gitee.com/tjerwinchen/mirror-umengsdk'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Theo Chen' => 'me@theochen.com' }
  s.source           = { :git => 'https://gitee.com/tjerwinchen/mirror-umengsdk.git', :tag => 'UMengSDK-' + s.version.to_s }
  # s.social_media_url = 'https://twitter.com/theochen'

  s.ios.deployment_target = '10.0'

  s.cocoapods_version = '>= 1.8.0'
  s.static_framework = false
  s.prefix_header_file = false

  s.source_files = 'Mirror/UMengSDK/Classes/**/*.{m,h}'
  s.preserve_paths = [
    'Mirror/UMengSDK/README.md',
    'Mirror/UMengSDK/CHANGELOG.md'
  ]

  s.vendored_frameworks = 'Mirror/UMengSDK/Frameworks/*.framework'
  s.libraries  = 'sqlite3', 'xml2', 'z'

  s.resource_bundles = {
    'MirrorUMengSDK' => ['Mirror/UMengSDK/Assets/*.bundle']
  }

  s.public_header_files = ['Mirror/UMengSDK/Classes/**/*.h']

  s.pod_target_xcconfig = {
    'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
  }
  # s.frameworks = 'UIKit', 'MapKit'
  # s.framework = "Security"

#  s.dependency 'UMCCommon', '2.1.1'
#  s.dependency 'UMCPush', '3.2.4'
#  s.dependency 'UMCSecurityPlugins', '1.0.6'
#  s.dependency 'UMCCommonLog', '1.0.0'
  
end
